Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework inline aarch64 asm for setcontext #748

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Rework inline aarch64 asm for setcontext #748

merged 1 commit into from
Jun 11, 2024

Conversation

bregma
Copy link
Member

@bregma bregma commented Apr 22, 2024

Modern GC and clang were barfing on the inline asm constraints for the aarch64-linux setcontext() replacement. Reformulated the asm code to reduce the required constraints.

Fixed #702

Modern GC and clang were barfing on the inline asm constraints for the
aarch64-linux setcontext() replacement. Reformulated the asm code to
reduce the required constraints.
@ararslan
Copy link
Contributor

Hi @bregma, is there anything preventing this PR from moving forward? I confirmed that this change (applied to v1.8.1) fixes the build in my case.

Somewhat as an aside, it seems Xamarin has their own fix for this. I'd be curious to know how their approach differs from yours as implemented in this PR, if at all.

Thanks for working on this!

@bregma
Copy link
Member Author

bregma commented Jun 11, 2024

I think the only blocker for this is an attention deficit on my part. I'll merge to main and start on a backport for #742

@bregma bregma merged commit 55448f6 into master Jun 11, 2024
15 of 29 checks passed
@bregma bregma deleted the gh-702/master branch June 12, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aarch64: error: inline assembly requires more registers than available
2 participants